#_*_ coding:utf-8 _*_
from .models import *
import xadmin

class LogInfoAdmin(object):
    list_display = ['user', 'operate_type', 'operate_ip','content','create_time']
    search_fields = ['user__username', 'operate_ip','content']
    list_filter = ['user', 'operate_type', 'create_time']
xadmin.site.register(LogInfo,LogInfoAdmin)
